package wlxldh357;

public class J25_Animal {

	private int hp;
	private int weight;
	private String color;

	public J25_Animal() {

	}

	public J25_Animal(int hp, int weight, String color) {
	}

	public int getHp() {
		return hp;
	}

	public void setHp(int hp) {
		this.hp = hp;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public void eat() {
		System.out.println("모든 동물은 먹어야 산다.");

	}

	public void cry() {
	}
}
